﻿@model ZJK.Models.ExtractManage.vmExtractRecord
@{
    ViewBag.Title = "viewExtractRecord";
}

<div id="info_head">
    <h2>关联项目：</h2>
    @{ 
        int i = 0;
        foreach (var _e in @Model.projs)
        {
            i++; 
        <p style="margin-left: 10px;">@i 、[ @_e.proj_code ] @_e.proj_name</p>
        }
    }
</div>
<div id="info_body">
    <h2>专家列表：</h2>
    <table class="ui-widget datagrid" style="border-collapse: collapse; width: 100%;">
        <thead>
            <tr>
                <th class="ui-widget-header" style="padding: .5em; white-space: nowrap;">序号
                </th>
                <th class="ui-widget-header" style="padding: .5em; white-space: nowrap;">类型
                </th>
                <th class="ui-widget-header" style="padding: .5em; white-space: nowrap;">姓名
                </th>
                <th class="ui-widget-header" style="padding: .5em;">工作单位
                </th>
                <th class="ui-widget-header" style="padding: .5em;">手机号码
                </th>
                <th class="ui-widget-header" style="padding: .5em;">专业
                </th>
                <th class="ui-widget-header" style="padding: .5em;">职称
                </th>
                <th class="ui-widget-header" style="padding: .5em;">是否参与评标
                </th>
                <th class="ui-widget-header" style="padding: .5em;">备注
                </th>
            </tr>
        </thead>
        <tbody id="tableDatas">
            @{ 
                int j = 0;
                foreach (var _e in @Model.experts)
                {
                    j++; 
                <tr>
                    <td style="padding: .5em; text-align:center;">@j </td>
                    <td style="padding: .5em; text-align:center;">@_e.exp_type </td>
                    <td style="padding: .5em; text-align:center;">@_e.exp_name </td>
                    <td style="padding: .5em;">@_e.exp_company </td>
                    <td style="padding: .5em;">@_e.exp_mobile </td>
                    <td style="padding: .5em;">@_e.exp_professon </td>
                    <td style="padding: .5em;">@_e.exp_title </td>
                    @if (_e.exp_isOK == 1)
                    {
                        <td style="padding: .5em; text-align:center;">是 </td>
                        <td style="padding: .5em;"></td>
                    }
                    else
                    {
                        <td style="padding: .5em; text-align:center;">否 </td>
                        <td style="padding: .5em;">@_e.exp_remark </td>
                    }
                </tr>
                }
            }
        </tbody>
    </table>
</div>
<div style="margin-top:1.5em;"><a href="exportExtractRecordToExcel?id=@Model.extractID" class="btn">导出Excel</a></div>
